<template>
	<view>
		<view class="box">
			<image src="/static/image/dui.png" class="dui" mode="widthFix"></image>
		</view>
		<view class="tips">
			兑换成功
		</view>
		<view class="dis aic jcc mar_t160">
			<view class="left" @click="goPointsMall">
				继续兑换
			</view>
			<view class="right" @click="goRecord">
				去查看
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			goRecord() {
				uni.navigateTo({
					url: '/pages/shop/exchangeRecords'
				})
			},
			goPointsMall() {
				uni.reLaunch({
					url: '/pages/shop/pointsShop'
				})
			},

		}
	}
</script>

<style lang="scss" scoped>
	.box {
		margin: 0 auto;
		width: 140rpx;
		height: 140rpx;
		background: #FF9C06;
		border-radius: 70rpx 70rpx 70rpx 70rpx;
		display: flex;
		justify-content: center;
		align-items: center;
		margin-top: 70rpx;

		.dui {
			width: 120rpx;
		}
	}

	.tips {
		font-family: Roboto, Roboto;
		font-weight: 500;
		font-size: 32rpx;
		color: #000000;
		text-align: center;
		margin-top: 40rpx;
	}

	.left {
		font-family: Roboto, Roboto;
		font-weight: 500;
		font-size: 29rpx;
		color: #FF9C06;
		text-align: center;
		width: 211rpx;
		height: 80rpx;
		line-height: 80rpx;
		background: #FFFFFF;
		border-radius: 1620rpx 1620rpx 1620rpx 1620rpx;
		border: 2rpx solid #FF9C06;
		margin: 0 50rpx;
	}

	.right {
		width: 211rpx;
		height: 80rpx;
		line-height: 80rpx;
		background: #FF9C06;
		border-radius: 1620rpx 1620rpx 1620rpx 1620rpx;
		font-family: Roboto, Roboto;
		font-weight: 500;
		font-size: 29rpx;
		color: #FFFFFF;
		text-align: center;
		margin: 0 50rpx;
	}

	.mar_t160 {
		margin-top: 160rpx;
	}
</style>